import Vue from "vue/dist/vue.min.js";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    wxUserInfo: {},
  },
  mutations: {
    SET_WX_USERINFO: (state, userInfo) => {
      state.wxUserInfo = userInfo;
    },
  },
  actions: {},
  modules: {},
  getters: {
    wxUserInfo: (state) => state.wxUserInfo,
  },
});
